﻿using System.Linq.Expressions;
using Entity.Models;

namespace IServices;

public interface IMenuService : IBaseService<SysMenu>
{
    List<SysMenu> GetMenuList(string searchText = "");

    List<SysMenu> GetMenuList(Expression<Func<SysMenu, bool>> whereLambda);

    SysMenu GetMenuById(int id);
}
